export default () => {
    return {
        tableOption: {
            column: [{
                label: "姓名",
                prop: "name",
                search: true,
            }, {
                label: "性别",
                prop: "sex",
                type: 'select',
                dicData: [{
                    label: '男',
                    value: 0
                }, {
                    label: '女',
                    value: 1
                }],
                search: true,
            }, {
                label: "图片",
                prop: "image",
                search: false,
                type: 'image',
                limit: 3,
                dictType: 'testImage'

            }, {
                label: "文件",
                prop: "file",
                search: false,
                type: 'upload',
                dictType: 'testfile'

            }
                , {
                    label: "树形",
                    prop: "tree",
                    search: false,
                    type: 'tree',
                    dicUrl: '/simplecrud/tree'

                }, {
                    label: "字典值",
                    prop: "dict",
                    search: true,
                    type: 'dict',
                    dictType: "testDict"

                },
                {
                    label: "城市名称",
                    prop: "cityCode",
                    search: true,
                    type: 'select',
                    dicUrl: '/simplecrud/city',


                }, {
                    label: "城市代码",
                    prop: "city",
                    type: 'quote',
                    quoteType: 'cityCode',
                },


            ]
        }

    }
}
